package com.rimi.project.bean;

import java.sql.Timestamp;
import java.util.Date;

public class UserCard {
	private int card;
	
	private String username;
	
	private String parkingPlace;

	private Timestamp startTime;
	
	private Timestamp endTime;
	
	
	public UserCard(int card, String username, String parkingPlace, Timestamp startTime, Timestamp endTime) {
		super();
		this.card = card;
		this.username = username;
		this.parkingPlace = parkingPlace;
		this.startTime = startTime;
		this.endTime = endTime;
	}

	public UserCard(int card, String username, String parkingPlace, Timestamp startTime) {
		super();
		this.card = card;
		this.username = username;
		this.parkingPlace = parkingPlace;
		this.startTime = startTime;
	}

	public int getCard() {
		return card;
	}

	public void setCard(int card) {
		this.card = card;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getParkingPlace() {
		return parkingPlace;
	}

	public void setParkingPlace(String parkingPlace) {
		this.parkingPlace = parkingPlace;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}

	public Timestamp getEndTime() {
		return endTime;
	}

	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}
	
	
}
